package com.demo.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface FileDao {
    void addFile(Map param);

    void updateFile(Map param);

    List<Map> getFileListByParam(@Param("businessId") String id, @Param("table") String table);

    void deleteFileById(@Param("id") String id);

    Map getFileById(@Param("id") String id);
}
